package com.jiejie.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jiejie.entity.Cast;
import com.jiejie.mapper.CastMapper;
import com.jiejie.service.ICastService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 辰广
 * @since 2022-10-05
 */
@Service
public class CastServiceImpl extends ServiceImpl<CastMapper, Cast> implements ICastService {
@Autowired
private CastMapper castMapper;

    @Override
    public Cast getCastById(Integer castId) {
        return castMapper.selectById(castId);
    }
}
